Creates a HeyGen Photo Avatar from uploaded photos or AI generation. Upload mode requires base64 photos; generate mode uses age/gender/ethnicity/style params. Returns group_id for status polling.
Bearer token from your account (https://agent.ai/user/integrations#api)
How to create the avatar.
upload, generate Variable name for the result. Access as {{avatar_result.group_id}}, {{avatar_result.status}}.
^[a-zA-Z][a-zA-Z0-9_]*$Display name for the avatar (default: My Avatar).
JSON array of photo objects: [{"base64": "...", "mimeType": "image/jpeg"}]. Required for upload mode.
Age range for generated avatar.
Young Adult, Middle-Aged, Senior Unspecified, Male, Female, Non-Binary Unspecified, Asian, Black, Caucasian, Hispanic, Middle Eastern, Mixed square, portrait, landscape half_body, close_up, full_body Realistic, Artistic, Professional Optional description of desired appearance traits.